/*
 * AddressServiceAsync.java
 *
 * Created on 22. Juni 2009, 18:16
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package fhv.itb.mst2955.client;
import com.google.gwt.user.client.rpc.AsyncCallback;
import fhv.itb.mst2955.client.model.AddressProxy;
import fhv.itb.mst2955.client.model.CountryProxy;
import java.util.Vector;


/**
 *
 * @author Malcolm
 */
public interface AddressServiceAsync {
    public abstract void getAddresses(AsyncCallback<Vector<AddressProxy>> asyncCallback);


    public abstract void newAddress(fhv.itb.mst2955.client.model.AddressProxy address, AsyncCallback asyncCallback);


    public abstract void putAddresses(java.util.Vector<fhv.itb.mst2955.client.model.AddressProxy> addresses, AsyncCallback asyncCallback);


    public abstract void deleteAddress(int id, AsyncCallback<Integer> asyncCallback);


    public abstract void getCountries(AsyncCallback<Vector<CountryProxy>> asyncCallback);
}
